<template>
	<!-- 添加配送弹框 -->
	<view>
		<u-popup :show="show2" @close="close" @open="open">
			<view class="distributionBox">
				<ul>
					<li>
						<text>快递 免邮</text>
						<u-icon name="checkbox-mark"></u-icon>
					</li>
					<li>
						<text>快递 8.00</text>
						<u-icon name="checkbox-mark"></u-icon>
					</li>
				</ul>
				<text  @click="close" class="btn">确定</text>
			</view>
		</u-popup>
	</view>
</template>

<script>
	export default{
		name:'AddDistribution',
		props:['show2'],
		methods: {
		  open() {
			// console.log('open');
		  },
		  close() {
			// this.show = false
			console.log('关闭点击');
			this.$emit("loseDistribution",false)
		  }
		}
	}
</script>

<style  scoped lang="less">
	@import 'css/AddDistribution.less';
</style>